//
//  WYLocationCell.m
//  Boss
//
//  Created by admin on 2018/6/12.
//  Copyright © 2018年 admin. All rights reserved.
//

#import "WYLocationCell.h"

@implementation WYLocationCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (IBAction)isHideAction:(id)sender {
    
    UIButton *btn = (UIButton *)sender;
    btn.selected = !btn.isSelected;
    if ([self.delegate respondsToSelector:@selector(didHideButtonWithState:)]) {
        [self.delegate didHideButtonWithState:btn.selected];
    }
    
    
}
- (IBAction)selectLoctionAction:(id)sender {
    
    if ([self.delegate respondsToSelector:@selector(didSelectChageLocationButtonWithCell:)]) {
        [self.delegate didSelectChageLocationButtonWithCell:self];
    }
    
    
}

@end
